Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an ML pipeline tutorial #16632

Merged
merged 48 commits into from
Jan 14, 2025
Merged

Add an ML pipeline tutorial #16632

merged 48 commits into from
Jan 14, 2025

Conversation

daniel-prefect
Copy link
Contributor

@daniel-prefect daniel-prefect commented Jan 7, 2025

Closes https://linear.app/prefect/issue/DOC-118/create-an-author-tutorial-for-model-training

Depends on PrefectHQ/demos#4 (before merging this PR, replace the inlined code with imports from the demo repo so we're not duplicating code)

This is the final tutorial in the data engineering tutorial series. It shows how to use Prefect webhooks and automations to automatically train a model with SageMaker whenever training data is uploaded to S3.

Preview: https://prefect-bd373955-add_an_ml_tutorial.mintlify.app/v3/tutorials/ml

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • If this pull request removes docs files, it includes redirect settings in mint.json.
  • If this pull request adds functions or classes, it includes helpful docstrings.

@daniel-prefect daniel-prefect self-assigned this Jan 7, 2025
@daniel-prefect daniel-prefect marked this pull request as ready for review January 7, 2025 23:43
Copy link
Contributor

@discdiver discdiver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff! Minor nits.

docs/v3/tutorials/ml.mdx Outdated Show resolved Hide resolved
docs/v3/tutorials/ml.mdx Outdated Show resolved Hide resolved
docs/v3/tutorials/ml.mdx Show resolved Hide resolved
docs/v3/tutorials/ml.mdx Outdated Show resolved Hide resolved
Copy link
Collaborator

@zzstoatzz zzstoatzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking good to me after removing the mutable default and adding type hinting for the functions - thanks!

docs/v3/tutorials/ml.mdx Outdated Show resolved Hide resolved
@daniel-prefect
Copy link
Contributor Author

@zzstoatzz type hinting added 3c8ddda

Copy link
Collaborator

@zzstoatzz zzstoatzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@daniel-prefect daniel-prefect dismissed olearycrew’s stale review January 14, 2025 23:12

Feedback has been addressed

@daniel-prefect daniel-prefect merged commit ad15fc9 into main Jan 14, 2025
5 of 6 checks passed
@daniel-prefect daniel-prefect deleted the add_an_ml_tutorial branch January 14, 2025 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants